Estimates the derivative of a data set by means of a naive implementation of a finite difference scheme based upon central differences.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | dt |
The time step between data points. |
||
| real(kind=real64), | intent(in), | dimension(:) | :: | x |
An N-element array containing the data whose derivative is to be estimated. |
An N-element array containing the derivative estimate.
Computes an estimate to the derivative of an evenly-sampled data set using total variation regularization.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in), | dimension(:) | :: | t |
An N-element array containing the time points at which x was sampled. |
|
| real(kind=real64), | intent(in), | dimension(:) | :: | x |
An N-element array containing the data whose derivative is to be estimated. |
An N-element array containing the derivative estimate.